<template>
    <el-aside width="250px" style="background-color: rgb(238,243,246)">
        <el-menu :default-openeds="['1', '3']">
            <el-menu-item index="1-1">
                <router-link to="/Home/Main" class="router">
                    首页
                </router-link>
            </el-menu-item>
            <el-submenu index="1">
                <template slot="title"><i class="el-icon-message"></i>登录信息管理</template>
                <el-menu-item-group>
                    <el-menu-item index="1-1"><router-link to="/Home/Redis" class="router">登录信息管理</router-link></el-menu-item>
                </el-menu-item-group>
            </el-submenu>
            <el-submenu index="2">
                <template slot="title"><i class="el-icon-message"></i>货物管理</template>
                    <el-menu-item-group>
                        <el-menu-item index="2-1">
                            <router-link to="/Home/WaresTypeMange" class="router">货物类型管理</router-link>
                        </el-menu-item>
                    </el-menu-item-group>

                    <el-menu-item-group>
                        <el-menu-item index="2-2">
                            <router-link to="/Home/WaresManageDetailType" class="router">货物调度类型管理</router-link>
                        </el-menu-item>
                    </el-menu-item-group>
                    <el-menu-item-group>
                        <el-menu-item index="2-3"><router-link to="/Home/WaresManage" class="router">货物管理</router-link></el-menu-item>
                    </el-menu-item-group>

                    <el-menu-item-group>
                        <el-menu-item index="2-4"><router-link to="/Home/WaresManageDetail" class="router">货物明细管理</router-link></el-menu-item>
                    </el-menu-item-group>
            </el-submenu>
        </el-menu>
    </el-aside>
</template>
<script>
    export default {
        name: 'Aside',
    }
</script>
<style>
    .el-aside{
        text-align: center;
    }
    .router{
        text-decoration: none;
        font-size: 14px;
        color: black
    }
</style>